package design.mode.finiteState.item1;

import design.mode.effective_java.chapter4.item19.Super;

/**
 * /**
 *
 * @author ZhongMingde on 2021/11/20
 */

public enum State {
  SMALL(0),
  Super(1),
  FIRE(2),
  CAPE(3);

  private int value;

  private State(int value) {
    this.value = value;
  }

  public int getValue() {
    return this.value;
  }
}
